package com.api;

import com.qf.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author MI
 * @ClassName GoodsApi.java
 * @createTime 2021年12月27日 22:13:00
 */

@FeignClient("cloud-goods")
public interface GoodsApi {
    @RequestMapping("/goods/findById/{id}")
    Goods findById(@PathVariable String id);
}
